package patternmining.model.graph.java;

import patternmining.model.graph.Edge;
import patternmining.model.graph.bpsl.BpslCreation;

public class JavaConstructorCall extends JavaInvocation {

    public JavaConstructorCall(JavaEntity origin, JavaEntity destination){
        super(origin, destination);
    }

    public String toString(){
        return "Creation";
    }
    
    @Override
    public boolean match(Edge otherEdge){
        return otherEdge instanceof BpslCreation;
    }

}
 
